﻿using EPiServer.Core;
using PageTypeBuilder;
using SocialPack.Composer.PageTypes.Tabs;

namespace SocialPack.Composer.PageTypes.Linkedin
{
    [PageType("c536741f-f40c-469a-8103-0ca93f1b3b23", Filename = "/modules/socialpack/composer/functions/linkedin/applywithlinkedin.ascx", AvailableInEditMode = false, Name = "Apply with Linkedin", Description = "Apply with Linkedin")]
    public class ApplyWithLinkedin : FunctionBase
    {
        [PageTypeProperty(EditCaption = "API Key", Tab = typeof(ComposerTab), Type = typeof(PropertyString))]
        public virtual string APIKey { get; set; }

        [PageTypeProperty(EditCaption = "Theme Color", Tab = typeof(ComposerTab), Type = typeof(PropertyString))]
        public virtual string ThemeColor { get; set; }

        [PageTypeProperty(EditCaption = "Job Location", Tab = typeof(ComposerTab), Type = typeof(PropertyString))]
        public virtual string JobLocation { get; set; }

        [PageTypeProperty(EditCaption = "Job Title", Tab = typeof(ComposerTab), Type = typeof(PropertyString))]
        public virtual string JobTitle { get; set; }

        [PageTypeProperty(EditCaption = "Recipient Email", Tab = typeof(ComposerTab), Type = typeof(PropertyString))]
        public virtual string RecipientEmail { get; set; }

        [PageTypeProperty(EditCaption = "Company Id", Tab = typeof(ComposerTab), Type = typeof(PropertyString))]
        public virtual string CompanyId { get; set; }

        [PageTypeProperty(EditCaption = "Company Logo", Tab = typeof(ComposerTab), Type = typeof(PropertyString))]
        public virtual string CompanyLogo { get; set; }

        [PageTypeProperty(EditCaption = "Phone Required", Tab = typeof(ComposerTab))]
        public virtual bool IsPhoneRequired { get; set; }
    }
}